package com.itheima.homework;

public class Test04 {
    public static void main(String[] args) {
        int[] arr = {12, 23, 34, 45, 56, 67};
        //for循环遍历
        for (int i = 0; i < arr.length; i++) {
            //对数组的数据做出判断
            if (arr[i] % 2 == 0) {
                System.out.println(arr[i] + " 是偶数");
            }
        }
    }
}
